home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / Threads Interface / CCooperativeThread.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-03  |  332 b   |  16 lines  |  [TEXT/KAHL]

  1. /***
  2.  * CCooperativeThead.h
  3.  *
  4.  *  Impelement a cooperative thread.  One that must give up the CPU of its own accord.
  5.  *        Copyright © Gordon Watts 1994 (gwatts@fnal.fnal.gov)
  6.  *
  7.  ***/
  8. #pragma once
  9.  
  10. #include "CThread.h"
  11.  
  12. class CCooperativeThread : public CThread {
  13. public:
  14.     void        Start (void);                        // Start the thread on its way
  15.  
  16. };